package com.ganhuoshitang.multipledatasources.mapper;

import com.ganhuoshitang.multipledatasources.entity.Account;
import com.ganhuoshitang.multipledatasources.entity.Orders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 公众号：干货食堂
 */
@Mapper
public interface AccountMapper {
    @Insert("INSERT INTO `account`( `user_id`, `balance`) VALUES ( #{userId}, #{balance})")
    int insert(Account account);
}